package com.atguigu.common.constant;

import lombok.Data;
import org.w3c.dom.Attr;

/**
 * 常量类
 *
 * @author wu on 2020/12/17 0017
 */

public class ProductConstant {

    public enum AttrEnum {
        ATTR_BASE_TYPE(1, "基本属性"),
        ATTR_SALE_TYPE(0, "销售属性");
        private int code;
        private String msg;

        AttrEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }
}
